package com.heima.enu;

public enum EnumLeiChongXie01 {
    SPRING("春"){
        @Override
        public void show() {
            System.out.println("nane");
        }
    },SUMMER("夏"){
        @Override
        public void show() {

        }
    },AUTUMN("秋"){
        @Override
        public void show() {

        }
    },WINTER("冬"){
        @Override
        public void show() {

        }
    };
    private String name;
   // private  EnumDemo(){}
    private EnumLeiChongXie01(String name){
        this.name=name;}
    public abstract void show();
}

